#ifndef NARYTREE_H_INCLUDED
#define NARYTREE_H_INCLUDED

#include <stdio.h>
#include "../include/vfs.h"
#include "../include/constants.h"


typedef struct nary_tree {
	 file_d *data;
	 struct nary_tree *child;
	 struct nary_tree *siblings;
}t_node;



t_node* nary_root_init();

int nary_insert_node(t_node **node,file_d *data);

int nary_delete_node(t_node** root, file_d *data);

int nary_list_dir(t_node* root, int flag, char filepath[], char* filename);

void nary_move_node(t_node* root,char *srcpath,char *destpath);

#endif // NARYTREE_H_INCLUDED
